
public class Sj {
	private int l1;
	private int l2;
	private int h;
	
	public Sj(int l1,int l2,int h){
		this.l1=l1;
	    this.l2=l2;
	    this.h=h;
	}
	public int getL1() {
		return l1;
	}
	public void setL1(int l1) {
		this.l1 = l1;
	}
	public int getL2() {
		return l2;
	}
	public void setL2(int l2) {
		this.l2 = l2;
	}
	public int getH() {
		return h;
	}
	public void setH(int h) {
		this.h = h;
	}
	public double C(){
		return l1+l2+l2;
	}
	public double S(){
		return l1*h/2;
	}
}
